import java.util.Comparator;

class Alg<E extends Comparable<E>>{

    public E findMax(E[]e){
        E max=e[0];
        for (int i = 1; i <e.length ; i++) {
            if(max.compareTo(e[i])<0){
                max=e[i];
            }
        }
        return max;
    }
}

public class Test2{

}
